home *** CD-ROM | disk | FTP | other *** search
- package org.spruce.midp.chess;
-
- // $FF: renamed from: org.spruce.midp.chess.a
- class class_0 {
- // $FF: renamed from: a int
- static final int field_0 = 8888;
- // $FF: renamed from: b int
- static final int field_1 = -1;
- // $FF: renamed from: c int
- static final int field_2 = 2;
- // $FF: renamed from: d int
- static final int field_3 = 6;
- // $FF: renamed from: e int
- static final int field_4 = 8;
- // $FF: renamed from: f int
- static final int field_5 = 10;
- // $FF: renamed from: g int
- static final int field_6 = 12;
- // $FF: renamed from: h int
- static final int field_7 = 14;
- // $FF: renamed from: i int
- static final int field_8 = 114;
- // $FF: renamed from: j int
- static final int field_9 = 106;
- // $FF: renamed from: k int[]
- int[] field_10;
- // $FF: renamed from: l int
- static final int field_11 = 3;
- // $FF: renamed from: m int
- static final int field_12 = 5;
- // $FF: renamed from: n int
- static final int field_13 = 7;
- // $FF: renamed from: o int
- static final int field_14 = 0;
- // $FF: renamed from: p int
- static final int field_15 = 1;
- // $FF: renamed from: q int
- static final int field_16 = 0;
- // $FF: renamed from: r int
- static final int field_17 = 1;
- // $FF: renamed from: s int
- static final int field_18 = 2;
- // $FF: renamed from: t int
- static final int field_19 = 3;
- // $FF: renamed from: u int
- static int field_20 = 64;
- // $FF: renamed from: v int
- static int field_21 = 128;
- // $FF: renamed from: w int[]
- int[] field_22;
- // $FF: renamed from: x int[]
- int[] field_23;
- // $FF: renamed from: y int
- int field_24;
- // $FF: renamed from: z int
- int field_25;
- // $FF: renamed from: A int[]
- static final int[] field_26 = new int[]{-10, 10, -14, 14, -23, 23, -25, 25};
- // $FF: renamed from: B int[]
- static final int[] field_27 = new int[]{-1, 1, -13, -12, -11, 13, 12, 11};
- // $FF: renamed from: C int[]
- static final int[] field_28 = new int[]{13, -13, 11, -11};
- // $FF: renamed from: D int[]
- static final int[] field_29 = new int[]{1, -1, 12, -12};
- // $FF: renamed from: E int
- static final int field_30 = 0;
-
- class_0() {
- boolean var2 = e.bi;
- super();
- this.field_10 = new int[144];
- int var1 = 0;
- if (var2) {
- this.field_10[var1] = 8888;
- ++var1;
- }
-
- while(true) {
- while(var1 < 144) {
- this.field_10[var1] = 8888;
- ++var1;
- }
-
- this.method_0();
- this.field_22 = new int[field_20];
- this.field_23 = new int[field_20];
- if (!var2) {
- return;
- }
-
- ++var1;
- }
- }
-
- class_0(class_0 var1) {
- boolean var4 = e.bi;
- super();
- this.field_10 = new int[144];
- int var2 = 0;
- if (var4) {
- this.field_10[var2] = var1.field_10[var2];
- ++var2;
- }
-
- while(true) {
- while(var2 < 144) {
- this.field_10[var2] = var1.field_10[var2];
- ++var2;
- }
-
- this.field_22 = new int[field_20];
- this.field_23 = new int[field_20];
- int var3 = 0;
- if (!var4) {
- if (var4) {
- this.field_22[var3] = var1.field_22[var3];
- this.field_23[var3] = var1.field_23[var3];
- ++var3;
- }
-
- while(true) {
- while(var3 < field_20) {
- this.field_22[var3] = var1.field_22[var3];
- this.field_23[var3] = var1.field_23[var3];
- ++var3;
- }
-
- this.field_24 = var1.field_24;
- this.field_25 = var1.field_25;
- if (!var4) {
- return;
- }
-
- ++var3;
- }
- }
-
- ++var2;
- }
- }
-
- // $FF: renamed from: a () void
- void method_0() {
- boolean var4 = e.bi;
- int var1 = 2;
- if (!var4 && var1 >= 10) {
- this.field_24 = 0;
- this.field_25 = 3;
- } else {
- label41:
- while(true) {
- int var2 = 4;
- if (var4) {
- this.field_10[var1 + 12 * var2] = -1;
- ++var2;
- }
-
- while(true) {
- while(var2 < 8) {
- this.field_10[var1 + 12 * var2] = -1;
- ++var2;
- }
-
- int[] var3 = new int[]{106, 8, 10, 12, 114, 10, 8, 106};
- this.field_10[var1 + 24] = var3[var1 - 2] + 0;
- this.field_10[var1 + 108] = var3[var1 - 2] + 1;
- this.field_10[var1 + 36] = 2;
- this.field_10[var1 + 96] = 3;
- if (!var4) {
- ++var1;
- if (var1 >= 10) {
- break label41;
- }
- break;
- }
-
- ++var2;
- }
- }
-
- this.field_24 = 0;
- this.field_25 = 3;
- }
- }
-
- // $FF: renamed from: b () void
- void method_1() {
- boolean var1 = e.bi;
- this.field_24 = 0;
- class_0 var10000 = this;
- int var10001 = this.method_2();
- if (!var1) {
- if (this.method_30(var10001)) {
- this.field_25 = 1;
- if (!var1) {
- return;
- }
- }
-
- var10000 = this;
- var10001 = 3;
- }
-
- var10000.field_25 = var10001;
- }
-
- // $FF: renamed from: c () int
- int method_2() {
- return this.field_24 % 2;
- }
-
- // $FF: renamed from: a (int) int
- int method_3(int var1) {
- boolean var5 = e.bi;
- int var2 = 14 + var1;
- int var3 = 114 + var1;
- int var4 = 0;
- int var10000;
- if (var5) {
- var10000 = this.field_10[var4];
- } else if (var4 >= 144) {
- var10000 = -1;
- if (!var5) {
- return -1;
- }
- } else {
- var10000 = this.field_10[var4];
- }
-
- while(!var5) {
- if (var10000 == var2) {
- var10000 = var4;
- break;
- }
-
- var10000 = this.field_10[var4];
- if (var5) {
- break;
- }
-
- if (var10000 == var3) {
- var10000 = var4;
- break;
- }
-
- ++var4;
- if (var4 >= 144) {
- var10000 = -1;
- if (!var5) {
- return -1;
- }
- } else {
- var10000 = this.field_10[var4];
- }
- }
-
- return var10000;
- }
-
- // $FF: renamed from: a (int, int) boolean
- boolean method_4(int var1, int var2) {
- boolean var7 = e.bi;
- int var4 = 0;
- int var21;
- if (var7) {
- int var3 = var1 + field_26[var4];
- var21 = this.method_10(var3);
- if (!var7) {
- int var10001;
- if (var21) {
- var21 = this.method_12(var3);
- var10001 = 8;
- if (!var7) {
- if (var21 == 8) {
- var21 = this.method_11(var3);
- var10001 = var2;
- if (!var7) {
- if (var21 == var2) {
- return true;
- }
-
- var21 = var1;
- var10001 = field_27[var4];
- }
- } else {
- var21 = var1;
- var10001 = field_27[var4];
- }
- }
- } else {
- var21 = var1;
- var10001 = field_27[var4];
- }
-
- var3 = var21 + var10001;
- var21 = this.method_10(var3);
- if (!var7) {
- if (var21 != 0) {
- var21 = this.method_12(var3);
- if (!var7) {
- if (var21 == 14) {
- var21 = this.method_11(var3);
- if (var7) {
- return (boolean)var21;
- }
-
- if (var21 == var2) {
- var21 = 1;
- return (boolean)var21;
- }
-
- ++var4;
- } else {
- ++var4;
- }
- } else {
- if (var21 == 14) {
- var21 = 1;
- return (boolean)var21;
- }
-
- ++var4;
- }
- } else {
- ++var4;
- }
- } else if (!var7) {
- if (var21 == 14) {
- var21 = this.method_11(var3);
- if (var7) {
- return (boolean)var21;
- }
-
- if (var21 == var2) {
- var21 = 1;
- return (boolean)var21;
- }
-
- ++var4;
- } else {
- ++var4;
- }
- } else {
- if (var21 == 14) {
- var21 = 1;
- return (boolean)var21;
- }
-
- ++var4;
- }
- } else if (var21) {
- var21 = this.method_12(var3);
- if (!var7) {
- if (var21 == 14) {
- var21 = this.method_11(var3);
- if (var7) {
- return (boolean)var21;
- }
-
- if (var21 == var2) {
- var21 = 1;
- return (boolean)var21;
- }
-
- ++var4;
- } else {
- ++var4;
- }
- } else {
- if (var21 == 14) {
- var21 = 1;
- return (boolean)var21;
- }
-
- ++var4;
- }
- } else {
- ++var4;
- }
- }
-
- while(true) {
- if (var4 >= 8) {
- var21 = 0;
- if (!var7) {
- label742: {
- int var5 = 0;
- if (var7) {
- var21 = var1;
- } else if (var5 >= 4) {
- var21 = var2;
- if (var7) {
- break label742;
- }
-
- if (!var7) {
- var21 = var2 == 0 ? -1 : 1;
- break label742;
- }
- } else {
- var21 = var1;
- }
-
- label250:
- while(true) {
- int var10;
- label221: {
- var10 = var21;
- var4 = 0;
- if (var7) {
- var10 += field_29[var5];
- } else if (var4 >= 7) {
- var10 = var1;
- var4 = 0;
- if (!var7 || !var7) {
- break label221;
- }
- } else {
- var10 += field_29[var5];
- }
-
- while(true) {
- var21 = this.method_10(var10);
- if (!var7) {
- if (var21 == 0) {
- var10 = var1;
- var4 = 0;
- if (!var7 || !var7) {
- break;
- }
- continue;
- }
-
- var21 = this.method_11(var10);
- }
-
- if (!var7) {
- if (var21 == -1) {
- ++var4;
- if (var4 >= 7) {
- var10 = var1;
- var4 = 0;
- if (!var7 || !var7) {
- break;
- }
- } else {
- var10 += field_29[var5];
- }
- continue;
- }
-
- var21 = this.method_12(var10);
- }
-
- int var6 = var21;
- var21 = this.method_11(var10);
- if (!var7) {
- if (var21 == var2) {
- var21 = var6;
- if (var7) {
- return (boolean)var21;
- }
-
- if (var6 == 6) {
- var21 = 1;
- return (boolean)var21;
- }
-
- var21 = var6;
- if (!var7) {
- if (var6 == 12) {
- var21 = 1;
- return (boolean)var21;
- }
-
- var10 = var1;
- var21 = 0;
- }
- } else {
- var10 = var1;
- var21 = 0;
- }
- }
-
- var4 = var21;
- if (!var7 || !var7) {
- break;
- }
- }
- }
-
- label247:
- while(true) {
- if (var4 >= 7) {
- if (!var7) {
- break;
- }
- } else {
- var10 += field_28[var5];
- }
-
- while(true) {
- var21 = this.method_10(var10);
- if (!var7) {
- if (var21 == 0) {
- if (!var7) {
- break label247;
- }
- continue;
- }
-
- var21 = this.method_11(var10);
- }
-
- if (!var7) {
- if (var21 == -1) {
- ++var4;
- break;
- }
-
- var21 = this.method_12(var10);
- }
-
- int var16 = var21;
- var21 = this.method_11(var10);
- if (!var7) {
- if (var21 == var2) {
- var21 = var16;
- if (var7) {
- return (boolean)var21;
- }
-
- if (var16 == 10) {
- break label250;
- }
-
- var21 = var16;
- if (var7) {
- return (boolean)var21;
- }
-
- if (var16 == 12) {
- break label250;
- }
- }
- } else {
- if (var21 == var2) {
- break label250;
- }
-
- var21 = var16;
- if (var7) {
- return (boolean)var21;
- }
-
- if (var16 == 12) {
- break label250;
- }
- }
-
- if (!var7) {
- break label247;
- }
- }
- }
-
- ++var5;
- if (var5 >= 4) {
- var21 = var2;
- if (var7) {
- break label742;
- }
-
- if (!var7) {
- var21 = var2 == 0 ? -1 : 1;
- break label742;
- }
- } else {
- var21 = var1;
- }
- }
-
- var21 = 1;
- return (boolean)var21;
- }
-
- int var17 = var21;
- int var11 = var1 + var17 * 11;
- var4 = 0;
- if (var7) {
- var21 = this.method_10(var11);
- if (!var7) {
- if (var21 != 0) {
- var21 = this.method_12(var11);
- if (!var7) {
- if (var21 == 2) {
- var21 = this.method_11(var11);
- if (!var7) {
- if (var21 == var2) {
- return true;
- }
-
- var11 = var1 + var17 * 13;
- ++var4;
- } else {
- var11 = var21 + var2;
- ++var4;
- }
- } else {
- var11 = var1 + var17 * 13;
- ++var4;
- }
- } else {
- var11 = var21 + 2;
- ++var4;
- }
- } else {
- var11 = var1 + var17 * 13;
- ++var4;
- }
- } else {
- var11 = var21;
- ++var4;
- }
- }
-
- while(true) {
- while(var4 < 2) {
- var21 = this.method_10(var11);
- if (!var7) {
- if (var21 != 0) {
- var21 = this.method_12(var11);
- if (!var7) {
- if (var21 == 2) {
- var21 = this.method_11(var11);
- if (!var7) {
- if (var21 == var2) {
- return true;
- }
-
- var11 = var1 + var17 * 13;
- ++var4;
- } else {
- var11 = var21 + var2;
- ++var4;
- }
- } else {
- var11 = var1 + var17 * 13;
- ++var4;
- }
- } else {
- var11 = var21 + 2;
- ++var4;
- }
- } else {
- var11 = var1 + var17 * 13;
- ++var4;
- }
- } else {
- var11 = var21;
- ++var4;
- }
- }
-
- if (!var7) {
- return false;
- }
-
- if (false) {
- var21 = this.method_12(var11);
- if (!var7) {
- if (var21 == 2) {
- var21 = this.method_11(var11);
- if (!var7) {
- if (var21 == var2) {
- return true;
- }
-
- var11 = var1 + var17 * 13;
- ++var4;
- } else {
- var11 = var21 + var2;
- ++var4;
- }
- } else {
- var11 = var1 + var17 * 13;
- ++var4;
- }
- } else {
- var11 = var21 + 2;
- ++var4;
- }
- } else {
- var11 = var1 + var17 * 13;
- ++var4;
- }
- }
- }
- } else {
- var21 = var1 + field_26[var4];
- }
-
- int var12 = var21;
- var21 = this.method_10(var12);
- if (!var7) {
- int var44;
- if (var21) {
- var21 = this.method_12(var12);
- var44 = 8;
- if (!var7) {
- if (var21 == 8) {
- var21 = this.method_11(var12);
- var44 = var2;
- if (!var7) {
- if (var21 == var2) {
- return true;
- }
-
- var21 = var1;
- var44 = field_27[var4];
- }
- } else {
- var21 = var1;
- var44 = field_27[var4];
- }
- }
- } else {
- var21 = var1;
- var44 = field_27[var4];
- }
-
- var12 = var21 + var44;
- var21 = this.method_10(var12);
- if (!var7) {
- if (var21 != 0) {
- var21 = this.method_12(var12);
- if (!var7) {
- if (var21 == 14) {
- var21 = this.method_11(var12);
- if (var7) {
- break;
- }
-
- if (var21 == var2) {
- var21 = 1;
- break;
- }
-
- ++var4;
- } else {
- ++var4;
- }
- } else {
- if (var21 == 14) {
- var21 = 1;
- break;
- }
-
- ++var4;
- }
- } else {
- ++var4;
- }
- } else if (!var7) {
- if (var21 == 14) {
- var21 = this.method_11(var12);
- if (var7) {
- break;
- }
-
- if (var21 == var2) {
- var21 = 1;
- break;
- }
-
- ++var4;
- } else {
- ++var4;
- }
- } else {
- if (var21 == 14) {
- var21 = 1;
- break;
- }
-
- ++var4;
- }
- } else if (var21) {
- var21 = this.method_12(var12);
- if (!var7) {
- if (var21 == 14) {
- var21 = this.method_11(var12);
- if (var7) {
- break;
- }
-
- if (var21 == var2) {
- var21 = 1;
- break;
- }
-
- ++var4;
- } else {
- ++var4;
- }
- } else {
- if (var21 == 14) {
- var21 = 1;
- break;
- }
-
- ++var4;
- }
- } else {
- ++var4;
- }
- }
-
- return (boolean)var21;
- }
-
- // $FF: renamed from: b (int, int) int
- static int method_5(int var0, int var1) {
- return var0 + 144 * var1;
- }
-
- // $FF: renamed from: a (int, int, int) int
- static int method_6(int var0, int var1, int var2) {
- return var0 + 144 * (var1 + 144 * var2);
- }
-
- // $FF: renamed from: b (int) int
- static int method_7(int var0) {
- return var0 % 144;
- }
-
- // $FF: renamed from: c (int) int
- static int method_8(int var0) {
- return var0 / 144 % 144;
- }
-
- // $FF: renamed from: d (int) int
- static int method_9(int var0) {
- return var0 / 20736;
- }
-
- // $FF: renamed from: e (int) boolean
- boolean method_10(int var1) {
- if (var1 >= 0 && var1 < 144) {
- return this.field_10[var1] != 8888;
- } else {
- return false;
- }
- }
-
- // $FF: renamed from: f (int) int
- int method_11(int var1) {
- return !this.method_10(var1) ? 0 : this.field_10[var1] % 2;
- }
-
- // $FF: renamed from: g (int) int
- int method_12(int var1) {
- return this.field_10[var1] % 100 - this.field_10[var1] % 2;
- }
-
- // $FF: renamed from: h (int) boolean
- boolean method_13(int var1) {
- return this.field_10[var1] > 100;
- }
-
- // $FF: renamed from: i (int) void
- void method_14(int var1) {
- class_0 var5;
- int var6;
- label37: {
- boolean var3 = e.bi;
- this.method_20(var1);
- int[] var2 = this.method_32();
- int var10000 = method_23(var2);
- if (!var3) {
- if (var10000 > 0) {
- class_0 var4 = this;
- var6 = this.method_2();
- if (!var3) {
- if (this.method_30(var6)) {
- this.field_25 = 1;
- if (!var3) {
- return;
- }
- }
-
- var4 = this;
- var6 = 3;
- }
-
- var4.field_25 = var6;
- if (!var3) {
- return;
- }
- }
-
- var5 = this;
- var6 = this.method_2();
- if (var3) {
- break label37;
- }
-
- var10000 = this.method_30(var6);
- }
-
- if (var10000 != 0) {
- this.field_25 = 0;
- if (!var3) {
- return;
- }
- }
-
- var5 = this;
- var6 = 2;
- }
-
- var5.field_25 = var6;
- }
-
- // $FF: renamed from: d () void
- void method_15() {
- boolean var1 = e.bi;
- this.method_21();
- class_0 var10000 = this;
- int var10001 = this.method_2();
- if (!var1) {
- if (this.method_30(var10001)) {
- this.field_25 = 1;
- if (!var1) {
- return;
- }
- }
-
- var10000 = this;
- var10001 = 3;
- }
-
- var10000.field_25 = var10001;
- }
-
- // $FF: renamed from: a (int, int, boolean) void
- void method_16(int var1, int var2, boolean var3) {
- boolean var4 = e.bi;
- int[] var10000 = this.field_22;
- int var10001 = this.field_24 % field_20;
- int var10002 = var1;
- if (!var4) {
- var10000[var10001] = var1;
- if (var3) {
- this.field_23[this.field_24 % field_20] = var2 + 8888;
- if (!var4) {
- return;
- }
- }
-
- var10000 = this.field_23;
- var10001 = this.field_24 % field_20;
- var10002 = var2;
- }
-
- var10000[var10001] = var10002;
- }
-
- // $FF: renamed from: j (int) int
- int method_17(int var1) {
- return this.field_22[var1 % field_20];
- }
-
- // $FF: renamed from: e () int
- int method_18() {
- int var1 = this.field_23[this.field_24 % field_20];
- return var1 < 8000 ? var1 : var1 - 8888;
- }
-
- // $FF: renamed from: f () boolean
- boolean method_19() {
- return this.field_23[this.field_24 % field_20] > 8000;
- }
-
- // $FF: renamed from: k (int) void
- void method_20(int var1) {
- boolean var7 = e.bi;
- int var10000 = var1;
- if (!var7) {
- if (var1 == 0) {
- this.method_16(var1, -1, false);
- ++this.field_24;
- return;
- }
-
- var10000 = method_7(var1);
- }
-
- int var2 = var10000;
- int var3 = method_8(var1);
- int var4 = method_9(var1);
- boolean var5 = false;
- var10000 = this.field_10[var2];
- if (!var7) {
- if (var10000 > 100) {
- var5 = true;
- this.field_10[var2] -= 100;
- }
-
- var10000 = this.field_10[var3];
- }
-
- int var6;
- label57: {
- var6 = var10000;
- this.field_10[var3] = this.field_10[var2];
- this.field_10[var2] = -1;
- var10000 = var4;
- byte var10001 = 3;
- if (!var7) {
- if (var4 == 3) {
- this.field_10[var3 % 12 + 12 * (var2 / 12)] = -1;
- if (!var7) {
- break label57;
- }
- }
-
- var10000 = var4;
- var10001 = 5;
- }
-
- label58: {
- if (!var7) {
- if (var10000 == var10001) {
- this.field_10[var2 - var2 % 12 + 9] = -1;
- this.field_10[var2 - var2 % 12 + 7] = 6 + this.method_2();
- if (!var7) {
- break label57;
- }
- }
-
- var10000 = var4;
- if (var7) {
- break label58;
- }
-
- var10001 = 7;
- }
-
- if (var10000 == var10001) {
- this.field_10[var2 - var2 % 12 + 2] = -1;
- this.field_10[var2 - var2 % 12 + 5] = 6 + this.method_2();
- if (!var7) {
- break label57;
- }
- }
-
- var10000 = var4;
- }
-
- if (var10000 != 0) {
- this.field_10[var3] = var4 + this.method_2();
- }
- }
-
- this.method_16(var1, var6, var5);
- ++this.field_24;
- }
-
- // $FF: renamed from: g () void
- void method_21() {
- boolean var5 = e.bi;
- int var10000 = this.field_24;
- if (!var5) {
- if (var10000 == 0) {
- return;
- }
-
- --this.field_24;
- var10000 = this.method_17(this.field_24);
- }
-
- int var1 = var10000;
- var10000 = var1;
- if (!var5) {
- if (var1 == 0) {
- return;
- }
-
- var10000 = method_7(var1);
- }
-
- int var2 = var10000;
- int var3 = method_8(var1);
- int var4 = method_9(var1);
- this.field_10[var2] = this.field_10[var3];
- this.field_10[var3] = this.method_18();
- var10000 = this.method_19();
- if (!var5) {
- if (var10000 != 0) {
- int[] var8 = this.field_10;
- var8[var2] += 100;
- }
-
- var10000 = var4;
- }
-
- byte var10001 = 3;
- if (!var5) {
- if (var10000 == 3) {
- this.field_10[var3 % 12 + 12 * (var2 / 12)] = 2 + (1 - this.method_2());
- if (!var5) {
- return;
- }
- }
-
- var10000 = var4;
- var10001 = 5;
- }
-
- label66: {
- if (!var5) {
- if (var10000 == var10001) {
- this.field_10[var2 - var2 % 12 + 7] = -1;
- this.field_10[var2 - var2 % 12 + 9] = 106 + this.method_2();
- if (!var5) {
- return;
- }
- }
-
- var10000 = var4;
- if (var5) {
- break label66;
- }
-
- var10001 = 7;
- }
-
- if (var10000 == var10001) {
- this.field_10[var2 - var2 % 12 + 5] = -1;
- this.field_10[var2 - var2 % 12 + 2] = 106 + this.method_2();
- if (!var5) {
- return;
- }
- }
-
- var10000 = var4;
- }
-
- if (var10000 != 0) {
- this.field_10[var2] = 2 + this.method_2();
- }
-
- }
-
- // $FF: renamed from: h () int[]
- static int[] method_22() {
- int[] var0 = new int[field_21 + 1];
- var0[0] = 0;
- return var0;
- }
-
- // $FF: renamed from: a (int[]) int
- static int method_23(int[] var0) {
- return var0[0];
- }
-
- // $FF: renamed from: a (int[], int) void
- static void method_24(int[] var0, int var1) {
- if (var0[0] >= field_21) {
- System.out.println(method_36("C\u007f\n\u0005N@`\u001c\u0003\bCy\u000e]N]w\u0010\u0002\u000b\u000f{\u0018\t\u0002Fe\r\u0002\u0007UsW"));
- }
-
- int var10002 = var0[0]++;
- var0[var0[0]] = var1;
- }
-
- // $FF: renamed from: b (int[], int) void
- static void method_25(int[] var0, int var1) {
- var0[var1] = var0[var0[0]];
- int var10002 = var0[0]--;
- }
-
- // $FF: renamed from: a (int[], int, int) void
- static void method_26(int[] var0, int var1, int var2) {
- int[] var3 = new int[]{12, 8, 6, 10};
- int var4 = 0;
- if (e.bi || var4 < 4) {
- do {
- method_24(var0, method_6(var1, var2, var3[var4]));
- ++var4;
- } while(var4 < 4);
-
- }
- }
-
- // $FF: renamed from: b (int[], int, int) void
- void method_27(int[] var1, int var2, int var3) {
- int var4;
- byte var5;
- byte var6;
- boolean var7;
- label109: {
- var7 = e.bi;
- int var10000 = var2;
- if (!var7) {
- if (var2 == 0) {
- var4 = 12;
- var5 = 3;
- var6 = 8;
- if (!var7) {
- break label109;
- }
- }
-
- var10000 = -12;
- }
-
- var4 = var10000;
- var5 = 8;
- var6 = 3;
- }
-
- int var8;
- label112: {
- label100: {
- label113: {
- label114: {
- var8 = var3 / 12;
- byte var10001 = var6;
- if (!var7) {
- if (var8 == var6) {
- var8 = this.method_11(var3 + var4);
- if (!var7) {
- if (var8 == -1) {
- method_26(var1, var3, var3 + var4);
- }
-
- var8 = this.method_10(var3 + var4 + 1);
- }
-
- if (!var7) {
- label66: {
- if (var8 != 0) {
- var8 = this.method_11(var3 + var4 + 1);
- if (var7) {
- break label66;
- }
-
- if (var8 == 1 - var2) {
- method_26(var1, var3, var3 + var4 + 1);
- }
- }
-
- var8 = this.method_10(var3 + var4 - 1);
- }
- }
-
- if (!var7) {
- if (var8 == 0) {
- return;
- }
-
- var8 = this.method_11(var3 + var4 - 1);
- }
-
- if (var8 == 1 - var2) {
- method_26(var1, var3, var3 + var4 - 1);
- }
-
- return;
- }
-
- var8 = this.method_11(var3 + var4);
- if (var7) {
- break label114;
- }
-
- var10001 = -1;
- }
-
- label91: {
- if (var8 == var10001) {
- method_24(var1, method_5(var3, var3 + var4));
- var8 = var3 / 12;
- if (var7) {
- break label91;
- }
-
- if (var8 == var5) {
- var8 = this.method_11(var3 + 2 * var4);
- if (var7) {
- break label114;
- }
-
- if (var8 == -1) {
- method_24(var1, method_5(var3, var3 + 2 * var4));
- }
- }
- }
-
- var8 = this.method_10(var3 + var4 + 1);
- }
-
- if (var7) {
- break label113;
- }
- }
-
- if (var8 != 0) {
- var8 = this.method_11(var3 + var4 + 1);
- if (var7) {
- break label100;
- }
-
- if (var8 == 1 - var2) {
- method_24(var1, method_5(var3, var3 + var4 + 1));
- }
- }
-
- var8 = this.method_10(var3 + var4 - 1);
- }
-
- if (var7) {
- break label112;
- }
- }
-
- if (var8 == 0) {
- return;
- }
-
- var8 = this.method_11(var3 + var4 - 1);
- }
-
- if (var8 == 1 - var2) {
- method_24(var1, method_5(var3, var3 + var4 - 1));
- }
-
- }
-
- // $FF: renamed from: a (int[], int, int, int[]) void
- void method_28(int[] var1, int var2, int var3, int[] var4) {
- boolean var6 = e.bi;
- int var5 = 0;
- if (var6 || var5 < 8) {
- do {
- int var10000 = this.method_10(var3 + var4[var5]);
- if (!var6) {
- if (var10000 == 0) {
- ++var5;
- continue;
- }
-
- var10000 = this.method_11(var3 + var4[var5]);
- }
-
- if (var10000 != var2) {
- method_24(var1, method_5(var3, var3 + var4[var5]));
- }
-
- ++var5;
- } while(var5 < 8);
-
- }
- }
-
- // $FF: renamed from: a (int[], int, int, int) void
- void method_29(int[] var1, int var2, int var3, int var4) {
- boolean var7 = e.bi;
- int var5 = var3;
- int var6 = 0;
- if (var7) {
- var5 = var3 + var4;
- } else if (var6 >= 7) {
- if (!var7) {
- return;
- }
- } else {
- var5 = var3 + var4;
- }
-
- while(true) {
- int var10000 = this.method_10(var5);
- if (!var7) {
- if (var10000 == 0) {
- if (!var7) {
- return;
- }
- continue;
- }
-
- var10000 = this.method_11(var5);
- }
-
- int var10001 = var2;
- if (!var7) {
- if (var10000 == var2) {
- if (!var7) {
- return;
- }
- continue;
- }
-
- method_24(var1, method_5(var3, var5));
- var10000 = this.method_11(var5);
- var10001 = 1 - var2;
- }
-
- if (var10000 == var10001) {
- if (!var7) {
- return;
- }
- } else {
- ++var6;
- if (var6 >= 7) {
- if (!var7) {
- return;
- }
- } else {
- var5 += var4;
- }
- }
- }
- }
-
- // $FF: renamed from: l (int) boolean
- boolean method_30(int var1) {
- int var2 = this.method_3(var1);
- return var2 == -1 ? false : this.method_4(var2, 1 - var1);
- }
-
- // $FF: renamed from: i () boolean
- boolean method_31() {
- return this.method_30(1 - this.method_2());
- }
-
- // $FF: renamed from: j () int[]
- int[] method_32() {
- boolean var4 = e.bi;
- int[] var1 = this.method_33();
- int var3 = 1;
- if (!var4 && var3 > var1[0]) {
- return var1;
- } else {
- do {
- this.method_20(var1[var3]);
- boolean var2 = this.method_31();
- this.method_21();
- if (!var4) {
- if (var2) {
- method_25(var1, var3);
- if (var4) {
- }
- } else {
- ++var3;
- }
- }
- } while(var3 <= var1[0]);
-
- return var1;
- }
- }
-
- // $FF: renamed from: k () int[]
- int[] method_33() {
- // $FF: Couldn't be decompiled
- }
-
- // $FF: renamed from: c (int[], int, int) int
- int method_34(int[] var1, int var2, int var3) {
- boolean var5 = e.bi;
- int var4 = var1[0];
- int var10000;
- if (var5) {
- var10000 = method_7(var1[var4]);
- } else if (var4 <= 0) {
- var10000 = -1;
- if (!var5) {
- return -1;
- }
- } else {
- var10000 = method_7(var1[var4]);
- }
-
- while(true) {
- if (!var5) {
- if (var10000 == var2) {
- var10000 = method_8(var1[var4]);
- if (var5) {
- break;
- }
-
- if (var10000 == var3) {
- var10000 = var4;
- break;
- }
-
- --var4;
- } else {
- --var4;
- }
- } else {
- if (var10000 == var2) {
- var10000 = var4;
- break;
- }
-
- --var4;
- }
-
- if (var4 <= 0) {
- var10000 = -1;
- if (!var5) {
- return -1;
- }
- } else {
- var10000 = method_7(var1[var4]);
- }
- }
-
- return var10000;
- }
-
- // $FF: renamed from: b (int[], int, int, int) int
- int method_35(int[] var1, int var2, int var3, int var4) {
- boolean var6 = e.bi;
- int var5 = var1[0];
- int var10000;
- if (var6) {
- var10000 = method_7(var1[var5]);
- } else if (var5 <= 0) {
- var10000 = -1;
- if (!var6) {
- return -1;
- }
- } else {
- var10000 = method_7(var1[var5]);
- }
-
- while(true) {
- if (!var6) {
- if (var10000 == var2) {
- var10000 = method_8(var1[var5]);
- if (!var6) {
- if (var10000 == var3) {
- var10000 = method_9(var1[var5]);
- if (var6) {
- break;
- }
-
- if (var10000 == var4) {
- var10000 = var5;
- break;
- }
-
- --var5;
- } else {
- --var5;
- }
- } else {
- if (var10000 == var3) {
- var10000 = var5;
- break;
- }
-
- --var5;
- }
- } else {
- --var5;
- }
- } else if (!var6) {
- if (var10000 == var2) {
- var10000 = method_9(var1[var5]);
- if (var6) {
- break;
- }
-
- if (var10000 == var4) {
- var10000 = var5;
- break;
- }
-
- --var5;
- } else {
- --var5;
- }
- } else {
- if (var10000 == var2) {
- var10000 = var5;
- break;
- }
-
- --var5;
- }
-
- if (var5 <= 0) {
- var10000 = -1;
- if (!var6) {
- return -1;
- }
- } else {
- var10000 = method_7(var1[var5]);
- }
- }
-
- return var10000;
- }
-
- // $FF: renamed from: a (java.lang.String) java.lang.String
- private static String method_36(String var0) {
- char[] var1 = var0.toCharArray();
- int var2 = var1.length;
- int var3 = 0;
- char[] var10000;
- int var10001;
- if (var2 <= 1) {
- var10000 = var1;
- var10001 = var3;
- } else {
- if (var3 >= var2) {
- return new String(var1);
- }
-
- var10000 = var1;
- var10001 = var3;
- }
-
- while(true) {
- char var10002 = var10000[var10001];
- byte var10003;
- switch (var3 % 5) {
- case 0:
- var10003 = 47;
- break;
- case 1:
- var10003 = 22;
- break;
- case 2:
- var10003 = 121;
- break;
- case 3:
- var10003 = 113;
- break;
- default:
- var10003 = 110;
- }
-
- var10000[var10001] = (char)(var10002 ^ var10003);
- ++var3;
- if (var2 == 0) {
- var10000 = var1;
- var10001 = var2;
- } else {
- if (var3 >= var2) {
- return new String(var1);
- }
-
- var10000 = var1;
- var10001 = var3;
- }
- }
- }
- }
-